<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th width="10%">编号</th>
    <th width="20%" class="left">名称</th>
    <th width="12%">大类</th>
    <th width="20%" class="left">区域</th>
    <th width="12%">启用时间</th>
    <th width="12%">禁用时间</th>
    <th>操作</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td>${c.code!}</td>
    <td class="left">${c.chName!}</td>
    <td><@value type="cardClass" key="${c.typeId!}"/></td>
    <td class="left"><@value type="cardArea" key="${c.manyShop!}"/></td>
    <td>${c.activeTime!}</td>
    <td>${c.inactiveTime!}</td>
    <td class="oper"><#if canEdit??><a class="edit" href="javascript:open('edit?code=${c.code!}');">修改</a></#if><#if canAdd??><a class="edit" href="javascript:open('add?code=${c.code!}');">复制</a></#if><#if canDel??><a class="del" href="javascript:cdel('_del?code=${c.code!}')">删除</a></#if></td>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
